package com.szgr.baoyin.model;

import java.util.List;

/**
 * Created by yang on 15/12/9.
 */
public class test {

    private DatasEntity datas;
    /**
     * datas : {"home_list":[{"h_desc":"配件商城","c_list":[{"c_gc_id":null,"c_title":"机床配件","c_limit":"4","h_id":"1","c_id":"1","c_goods_ids":"1,2,3,4,5,6","goods_list":[]},{"c_gc_id":null,"c_title":"机床刀具","c_limit":"4","h_id":"1","c_id":"2","c_goods_ids":"1,2,3,4,5,6","goods_list":[]},{"c_gc_id":null,"c_title":"模具配件","c_limit":"4","h_id":"1","c_id":"3","c_goods_ids":"1,2,3,4,5,6","goods_list":[]},{"c_gc_id":null,"c_title":"工业油品","c_limit":"4","h_id":"1","c_id":"4","c_goods_ids":"1,2,3,4,5,6","goods_list":[]}],"h_color":"","h_type":"","h_title":"配件商城","h_keyword":"配件","h_img":"","h_id":"1","h_sort":"1","h_multi_keyword":null},{"h_desc":"机床商城","c_list":[{"c_gc_id":"1156","c_title":"立顿系列","c_limit":"4","h_id":"2","c_id":"1","c_goods_ids":null,"goods_list":[]},{"c_gc_id":"1319","c_title":"龙门系列","c_limit":"4","h_id":"2","c_id":"2","c_goods_ids":null,"goods_list":[{"goods_collect":"2","nc_distinct":"107,0","goods_marketprice":"310000.00","goods_name":"VMC-1060  发那科OI-MD  XYZ硬轨 8000RPM  X1000*Y600*Z600","goods_image":"http://123.57.75.202/baoyin/data/upload/shop/store/goods/6/6_04994476974492886_240.jpg","goods_salenum":"0","goods_click":"62","goods_jingle2":"","goods_jingle3":"","goods_price":"248000.00","goods_commonid":"107","goods_id":"111","goods_type":1,"goods_jingle":""},{"goods_collect":"1","nc_distinct":"138,0","goods_marketprice":"448000.00","goods_name":"VMC-1370  OI-MD  XYZ硬轨 6000RPM X1300*Y700*Z700","goods_image":"http://123.57.75.202/baoyin/data/upload/shop/store/goods/6/6_04992686500160916_240.jpg","goods_salenum":"0","goods_click":"23","goods_jingle2":"","goods_jingle3":"","goods_price":"358000.00","goods_commonid":"138","goods_id":"142","goods_type":1,"goods_jingle":""},{"goods_collect":"0","nc_distinct":"141,0","goods_marketprice":"415000.00","goods_name":"VMC-1370  M70A   XYZ硬轨 6000RPM X1300*Y700*Z700","goods_image":"http://123.57.75.202/baoyin/data/upload/shop/store/goods/6/6_04994476974492886_240.jpg","goods_salenum":"0","goods_click":"17","goods_jingle2":"","goods_jingle3":"","goods_price":"332000.00","goods_commonid":"141","goods_id":"145","goods_type":1,"goods_jingle":""},{"goods_collect":"1","nc_distinct":"146,0","goods_marketprice":"418000.00","goods_name":"VMC-1370L  M70A  XY线轨 6000RPM X1300*Y700*Z700","goods_image":"http://123.57.75.202/baoyin/data/upload/shop/store/goods/6/6_04994476974492886_240.jpg","goods_salenum":"0","goods_click":"16","goods_jingle2":"","goods_jingle3":"","goods_price":"334000.00","goods_commonid":"146","goods_id":"150","goods_type":1,"goods_jingle":""}]},{"c_gc_id":"1320","c_title":"卧加系列","c_limit":"4","h_id":"2","c_id":"3","c_goods_ids":null,"goods_list":[]}],"h_color":"","h_type":"","h_title":"机床商城","h_keyword":"机床","h_img":"","h_id":"2","h_sort":"2","h_multi_keyword":null}],"xianshi_item":[],"adv_list":[{"image":"http://123.57.75.202/baoyin/data/upload/mobile/ad/05022142372073145.png","keyword":"配件"},{"image":"http://123.57.75.202/baoyin/data/upload/mobile/ad/05019372676562230.png","keyword":"机床"},{"image":"http://123.57.75.202/baoyin/data/upload/mobile/ad/05022142448674172.png","keyword":"金融"},{"image":"http://123.57.75.202/baoyin/data/upload/mobile/ad/05025563437511646.png","keyword":"维保"},{"image":"http://123.57.75.202/baoyin/data/upload/mobile/ad/05028040261469591.png","keyword":"特价"}]}
     * code : 200
     */

    private int code;

    public void setDatas(DatasEntity datas) {
        this.datas = datas;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public DatasEntity getDatas() {
        return datas;
    }

    public int getCode() {
        return code;
    }

    public class DatasEntity {
        /**
         * h_desc : 配件商城
         * c_list : [{"c_gc_id":null,"c_title":"机床配件","c_limit":"4","h_id":"1","c_id":"1","c_goods_ids":"1,2,3,4,5,6","goods_list":[]},{"c_gc_id":null,"c_title":"机床刀具","c_limit":"4","h_id":"1","c_id":"2","c_goods_ids":"1,2,3,4,5,6","goods_list":[]},{"c_gc_id":null,"c_title":"模具配件","c_limit":"4","h_id":"1","c_id":"3","c_goods_ids":"1,2,3,4,5,6","goods_list":[]},{"c_gc_id":null,"c_title":"工业油品","c_limit":"4","h_id":"1","c_id":"4","c_goods_ids":"1,2,3,4,5,6","goods_list":[]}]
         * h_color :
         * h_type :
         * h_title : 配件商城
         * h_keyword : 配件
         * h_img :
         * h_id : 1
         * h_sort : 1
         * h_multi_keyword : null
         */

        private List<HomeListEntity> home_list;
        private List<?> xianshi_item;
        /**
         * image : http://123.57.75.202/baoyin/data/upload/mobile/ad/05022142372073145.png
         * keyword : 配件
         */

        private List<AdvListEntity> adv_list;

        public void setHome_list(List<HomeListEntity> home_list) {
            this.home_list = home_list;
        }

        public void setXianshi_item(List<?> xianshi_item) {
            this.xianshi_item = xianshi_item;
        }

        public void setAdv_list(List<AdvListEntity> adv_list) {
            this.adv_list = adv_list;
        }

        public List<HomeListEntity> getHome_list() {
            return home_list;
        }

        public List<?> getXianshi_item() {
            return xianshi_item;
        }

        public List<AdvListEntity> getAdv_list() {
            return adv_list;
        }

        public class HomeListEntity {
            private String h_desc;
            private String h_color;
            private String h_type;
            private String h_title;
            private String h_keyword;
            private String h_img;
            private String h_id;
            private String h_sort;
            private Object h_multi_keyword;
            /**
             * c_gc_id : null
             * c_title : 机床配件
             * c_limit : 4
             * h_id : 1
             * c_id : 1
             * c_goods_ids : 1,2,3,4,5,6
             * goods_list : []
             */

            private List<CListEntity> c_list;

            public void setH_desc(String h_desc) {
                this.h_desc = h_desc;
            }

            public void setH_color(String h_color) {
                this.h_color = h_color;
            }

            public void setH_type(String h_type) {
                this.h_type = h_type;
            }

            public void setH_title(String h_title) {
                this.h_title = h_title;
            }

            public void setH_keyword(String h_keyword) {
                this.h_keyword = h_keyword;
            }

            public void setH_img(String h_img) {
                this.h_img = h_img;
            }

            public void setH_id(String h_id) {
                this.h_id = h_id;
            }

            public void setH_sort(String h_sort) {
                this.h_sort = h_sort;
            }

            public void setH_multi_keyword(Object h_multi_keyword) {
                this.h_multi_keyword = h_multi_keyword;
            }

            public void setC_list(List<CListEntity> c_list) {
                this.c_list = c_list;
            }

            public String getH_desc() {
                return h_desc;
            }

            public String getH_color() {
                return h_color;
            }

            public String getH_type() {
                return h_type;
            }

            public String getH_title() {
                return h_title;
            }

            public String getH_keyword() {
                return h_keyword;
            }

            public String getH_img() {
                return h_img;
            }

            public String getH_id() {
                return h_id;
            }

            public String getH_sort() {
                return h_sort;
            }

            public Object getH_multi_keyword() {
                return h_multi_keyword;
            }

            public List<CListEntity> getC_list() {
                return c_list;
            }

            public class CListEntity {
                private Object c_gc_id;
                private String c_title;
                private String c_limit;
                private String h_id;
                private String c_id;
                private String c_goods_ids;
                private List<?> goods_list;

                public void setC_gc_id(Object c_gc_id) {
                    this.c_gc_id = c_gc_id;
                }

                public void setC_title(String c_title) {
                    this.c_title = c_title;
                }

                public void setC_limit(String c_limit) {
                    this.c_limit = c_limit;
                }

                public void setH_id(String h_id) {
                    this.h_id = h_id;
                }

                public void setC_id(String c_id) {
                    this.c_id = c_id;
                }

                public void setC_goods_ids(String c_goods_ids) {
                    this.c_goods_ids = c_goods_ids;
                }

                public void setGoods_list(List<?> goods_list) {
                    this.goods_list = goods_list;
                }

                public Object getC_gc_id() {
                    return c_gc_id;
                }

                public String getC_title() {
                    return c_title;
                }

                public String getC_limit() {
                    return c_limit;
                }

                public String getH_id() {
                    return h_id;
                }

                public String getC_id() {
                    return c_id;
                }

                public String getC_goods_ids() {
                    return c_goods_ids;
                }

                public List<?> getGoods_list() {
                    return goods_list;
                }
            }
        }

        public class AdvListEntity {
            private String image;
            private String keyword;

            public void setImage(String image) {
                this.image = image;
            }

            public void setKeyword(String keyword) {
                this.keyword = keyword;
            }

            public String getImage() {
                return image;
            }

            public String getKeyword() {
                return keyword;
            }
        }
    }
}
